/**
 * Copyright 2016-2018 mobaas.com
 */
package com.mobaas.devops.dao;

import java.util.Date;
import java.util.List;

import com.mobaas.devops.model.AccessLog;
import com.mobaas.devops.model.AccessTotal;

/**
 * 
 * @author billy zhang
 * 
 */
public interface AccessLogDao {

	void insertAccessLog(AccessLog acclog);

	List<AccessTotal> selectAccessTotalListByApp( String appId,  Date startDate,  int interval);

	int selectAccessLogCountByApp( String appId,  int status,  String path);

	List<AccessLog> selectAccessLogListByApp( String appName,  int status, 
			String path,  int offset,  int limit);
}
